package com.mcxx.modules.system.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


@Data
public class PolicyDTO implements Serializable {
	private static final long serialVersionUID = -1;
    @ApiModelProperty(value = "")
	private String id;

    @ApiModelProperty(value = "政策类型，省级，市级区级")
	private String policyType;

    @ApiModelProperty(value = "内容标题")
	private String title;

    @ApiModelProperty(value = "标题图片")
	private String imgUrl;

    @ApiModelProperty(value = "内容")
	private String content;

    @ApiModelProperty(value = "发布时间")
	@JSONField(format = "yyyy-MM-dd")
	private Date createTime;

    @ApiModelProperty(value = "发布人")
	private String operator;

    @ApiModelProperty(value = "发布状态，0未确认；1已确认")
	private Byte state;

    @ApiModelProperty(value = "发布机构")
	private String orgId;

	@ApiModelProperty(value = "机构名称")
	private String orgName;

    @ApiModelProperty(value = "点击量")
	private Long clickNumber;

	private List<PolicyFileDTO> fileList;
}
